//
//  Stream.m
//  DesignMode
//
//  Created by wangzhipan on 2024/9/10.
//

#import "Stream.h"

@implementation FileStream
- (void)read
{
    
}

- (void)seek
{
    
}

- (void)write
{
    
}
@end


@implementation MemoryStream
- (void)read
{
    
}

- (void)seek
{
    
}

- (void)write
{
    
}
@end

@implementation NetworkStream
- (void)read
{
    
}

- (void)seek
{
    
}

- (void)write
{
    
}
@end


@implementation EncryptFileStream

- (void)read
{
    //加密处理
    [super read];
}

- (void)seek
{
    //加密处理
    [super seek];
}

- (void)write
{
    //加密处理
    [super write];
}

@end

@implementation DecodeFileStream
- (void)read
{
    //解密处理
    [super read];
}

- (void)seek
{
    //解密处理
    [super seek];
}

- (void)write
{
    //解密处理
    [super write];
}
@end

@implementation BufferFileStream
- (void)read
{
    //缓冲处理
    [super read];
}

- (void)seek
{
    //缓冲处理
    [super seek];
}

- (void)write
{
    //缓冲处理
    [super write];
}
@end
